export default {
  common: {
    loading: 'Loading...',
    error: 'Error',
    success: 'Success',
    confirm: 'Confirm',
    cancel: 'Cancel',
    save: 'Save',
    edit: 'Edit',
    delete: 'Delete',
    create: 'Create',
    search: 'Search',
    more: 'More',
    back: 'Back',
  },
  header: {
    home: 'Home',
    articles: 'Articles',
    categories: 'Categories',
    tags: 'Tags',
    search: 'Search...',
    login: 'Login',
    register: 'Register',
    profile: 'Profile',
    settings: 'Settings',
    admin: 'Admin',
    logout: 'Logout',
  },
  sidebar: {
    home: 'Home',
    articles: 'Articles',
    categories: 'Categories',
    tags: 'Tags',
    dashboard: 'Dashboard',
    settings: 'Settings',
    profile: 'Profile',
  },
  footer: {
    description: 'A modern blog system built with React and Spring Boot',
    links: 'Quick Links',
    about: 'About Us',
    contact: 'Contact Us',
    privacy: 'Privacy Policy',
    terms: 'Terms of Service',
    followUs: 'Follow Us',
    rights: 'All rights reserved',
  },
  auth: {
    login: {
      title: 'Login',
      username: 'Username',
      password: 'Password',
      remember: 'Remember me',
      forgot: 'Forgot password?',
      submit: 'Login',
      register: 'No account? Register',
      success: 'Login successful',
      error: 'Login failed',
    },
    register: {
      title: 'Register',
      username: 'Username',
      email: 'Email',
      password: 'Password',
      confirmPassword: 'Confirm Password',
      submit: 'Register',
      login: 'Have an account? Login',
      success: 'Registration successful',
      error: 'Registration failed',
    },
    logout: {
      success: 'Logout successful',
    },
  },
  article: {
    list: {
      title: 'Articles',
      empty: 'No articles found',
      search: 'Search articles...',
      filter: 'Filter',
      sort: 'Sort',
    },
    detail: {
      author: 'Author',
      date: 'Published on',
      views: 'Views',
      likes: 'Likes',
      comments: 'Comments',
      tags: 'Tags',
      category: 'Category',
    },
    edit: {
      title: 'Edit Article',
      titlePlaceholder: 'Enter title',
      content: 'Content',
      contentPlaceholder: 'Write your content...',
      category: 'Select category',
      tags: 'Select tags',
      cover: 'Cover image',
      publish: 'Publish',
      draft: 'Save as draft',
      success: 'Saved successfully',
      error: 'Save failed',
    },
    create: {
      title: 'Create Article',
      success: 'Created successfully',
      error: 'Creation failed',
    },
    delete: {
      title: 'Delete Article',
      confirm: 'Are you sure you want to delete this article?',
      success: 'Deleted successfully',
      error: 'Delete failed',
    },
  },
  comment: {
    list: {
      title: 'Comments',
      empty: 'No comments yet',
    },
    create: {
      placeholder: 'Write your comment...',
      submit: 'Post Comment',
      success: 'Comment posted',
      error: 'Failed to post comment',
    },
    delete: {
      confirm: 'Are you sure you want to delete this comment?',
      success: 'Comment deleted',
      error: 'Failed to delete comment',
    },
  },
  category: {
    list: {
      title: 'Categories',
      empty: 'No categories found',
    },
    create: {
      title: 'Create Category',
      name: 'Category Name',
      description: 'Description',
      success: 'Category created',
      error: 'Failed to create category',
    },
    edit: {
      title: 'Edit Category',
      success: 'Category updated',
      error: 'Failed to update category',
    },
    delete: {
      confirm: 'Are you sure you want to delete this category?',
      success: 'Category deleted',
      error: 'Failed to delete category',
    },
  },
  tag: {
    list: {
      title: 'Tags',
      empty: 'No tags found',
    },
    create: {
      title: 'Create Tag',
      name: 'Tag Name',
      success: 'Tag created',
      error: 'Failed to create tag',
    },
    edit: {
      title: 'Edit Tag',
      success: 'Tag updated',
      error: 'Failed to update tag',
    },
    delete: {
      confirm: 'Are you sure you want to delete this tag?',
      success: 'Tag deleted',
      error: 'Failed to delete tag',
    },
  },
  user: {
    profile: {
      title: 'Profile',
      avatar: 'Avatar',
      username: 'Username',
      email: 'Email',
      bio: 'Bio',
      save: 'Save Changes',
      success: 'Profile updated',
      error: 'Failed to update profile',
    },
    settings: {
      title: 'Account Settings',
      password: 'Change Password',
      oldPassword: 'Current Password',
      newPassword: 'New Password',
      confirmPassword: 'Confirm Password',
      save: 'Save Changes',
      success: 'Settings updated',
      error: 'Failed to update settings',
    },
  },
  admin: {
    dashboard: {
      title: 'Dashboard',
      totalArticles: 'Total Articles',
      totalComments: 'Total Comments',
      totalUsers: 'Total Users',
      totalViews: 'Total Views',
    },
    users: {
      title: 'User Management',
      search: 'Search users...',
      role: 'Role',
      status: 'Status',
      lastLogin: 'Last Login',
      actions: 'Actions',
    },
    settings: {
      title: 'System Settings',
      general: 'General Settings',
      siteName: 'Site Name',
      siteDescription: 'Site Description',
      logo: 'Site Logo',
      favicon: 'Favicon',
      save: 'Save Settings',
      success: 'Settings saved',
      error: 'Failed to save settings',
    },
  },
  error: {
    title: 'Oops!',
    description: 'Sorry, something went wrong.',
    tryAgain: 'Try Again',
    reload: 'Reload Page',
    notFound: 'Page not found',
    goHome: 'Go Home',
    unauthorized: 'Unauthorized',
    login: 'Please login',
  },
}; 